''' a simple logger '''
import logging

def make_logger(name=None):
    ''' make a logger '''
    logger = logging.getLogger(name)
    handler = logging.StreamHandler()
    formatter = logging.Formatter(\
            '%(asctime)s %(name)-12s %(levelname)-8s %(message)s')
    handler.setFormatter(formatter)
    logger.addHandler(handler)
    logger.setLevel(logging.DEBUG)
    # logger.setLevel(logging.INFO)

    # logger.debug('often makes a very good meal of %s', 'visiting tourists')
    return logger
